package com.bwie.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bwie.pojo.ServiceItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bwie.vo.PageVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
* @author Lenovo
* @description 针对表【service_item】的数据库操作Mapper
* @createDate 2025-07-11 11:03:54
* @Entity com.bwie.pojo.ServiceItem
*/
@Mapper
public interface ServiceItemMapper extends BaseMapper<ServiceItem> {

    Page<ServiceItem> getServiceItemList(@Param("page") Page<ServiceItem> serviceItemPage,@Param("pageVo") PageVo pageVo);

    @Update(value = "update service_item set status = 1 where code = #{out_trade_no}")
    void updatePayStatus(String out_trade_no);
}




